home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 39
/
Amiga Format CD39 (1999-04-13)(Future Publishing)(GB)[!][issue 1999-05].iso
/
-seriously_amiga-
/
wb
/
selector
/
prefs
< prev
next >
Wrap
Text File
|
1999-03-02
|
2KB
|
84 lines
unsetenv rr
unsetenv gg
unsetenv bb
if "$selprefrunning" EQ "Yes"
selector /pref/running.sel
quit
endif
if not exists envarc:selector.settings
echo >envarc:selector.settings " "
endif
if not exists env:selector.settings
copy >nil: envarc:selector.settings env:
endif
setenv opa ""
tools/getline env:selector.settings opa " font "
tools/chopword opa epa
if not "$epa" EQ ""
delete >nil: env:selector.defaultfont
endif
setenv opa ""
tools/getline envarc:selector.settings opa " font "
tools/chopword opa epa
if not "$epa" EQ ""
delete >nil: envarc:selector.defaultfont
endif
if exists env:Selector.DefaultFont
setenv opa "font "
type >>env:opa env:Selector.DefaultFont
tools/changeline env:selector.settings opa " font "
delete >nil: env:Selector.DefaultFont
endif
if exists envarc:Selector.DefaultFont
setenv opa "font "
type >>env:opa envarc:Selector.DefaultFont
tools/changeline envarc:selector.settings opa " font "
delete >nil: envarc:Selector.DefaultFont
endif
resident >nil: "`which selector`" pure add
cd tools
getline env:selector.settings opa " colour "
chopword opa epa
chopword opa fg
chopword opa bg
if not "$epa" EQ ""
setenv opa ""
changeline env:selector.settings opa " color "
setenv opa "textcol $fg $bg"
changeline env:selector.settings opa " textcol "
setenv opa "buttoncol $fg $bg"
changeline env:selector.settings opa " buttoncol "
endif
setenv selprefrunning yes
setenv sj ""
setenv js OFF
selector /pref/prefs.sel
unsetenv selprefrunning
unsetenv opa
unsetenv epa
unsetenv fg
unsetenv bg